<html>
<?php
	define('JPATH_BASE', $_SERVER["DOCUMENT_ROOT"] );
?>
<body>
<?php

	$banner = ComponentFactory::getComponent("/components/ad/banner/component.php", "Banner");
	$footer = ComponentFactory::getComponent("/components/footer/component.php", "Footer");
	$menu = ComponentFactory::getComponent("/components/menu/component.php", "Menu");

//	$result = $banner->getHomeRecords();
//	foreach ($result as $row):
//		echo $row["title"] . "<br/>";
//	endforeach;
//	
//	$result = $menu->getHomeRecords();
//	foreach ($result as $row):
//		echo $row["title"] . "<br/>";
//	endforeach;
//	
//	$result = $footer->getHomeRecords();
//	foreach ($result as $row):
//		echo $row["title"] . "<br/>";
//	endforeach;

?>

</body>
</html>